package com.lebang.lechuangsystem.service.sys;

import com.lebang.lechuangsystem.domain.User;
import com.lebang.lechuangsystem.mapper.UserMapper;
import com.lebang.lechuangsystem.po.UserPo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: hwq
 * @Date: 2019/8/22 14:11
 * @Version 1.0
 */
@Service
@Slf4j
public class UserService extends BaseService<User, UserPo>{
@Autowired
private UserMapper userMapper;
    public User selectByName(String username) {
    return userMapper.selectByName(username);
    }
}
